<link href="${rc.getContextPath()}/manage/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">
<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="${rc.getContextPath()}/manage/failureCause/failureCauseLookup" onsubmit="return dwzSearch(this, 'dialog');">
    <div class="pageHeader">
        <div>
            <div style="float: left; height: 26px; width: 250px;">
            <label id="failureCauseCode"><@label key="failureCauseCode.C,colon">故障原因编号：</@label></label> <input type="text" class="textInput" name="failureCauseCode" value="${condition.failureCauseCode!''}" />
            </div>
            <div style="float: left; height: 26px; width: 250px;">
            <label id="failureCauseText"><@label key="failureCauseText.C,colon">故障原因描述：</@label></label> <input type="text" class="textInput" name="failureCauseText" value="${condition.failureCauseText!''}" />
            </div>

            <div class="buttonActive">
                <div class="buttonContent">
                    <button type="submit"><@label key="query.B">查询</@label></button>
                </div>
            </div>


        </div>
    </div>


<div class="pageContent" style="width:99%">
        <table class="table border" width="98%" layoutH="140">
            <thead>
                <tr>
                <th width="22"><input type="checkbox" group="failureCauseId" class="checkboxCtrl"></th>
                <th width="40"><@label key="serialNumber.C">序号</@label></th>
                <th width="100"><@label key="failureCauseCode.C">故障原因编号</@label></th>
                <th width="100"><@label key="failureCauseText.C">故障原因描述</@label></th>
                </tr>
            </thead>
            <tbody>
                <#if page??><#if (page.data?size>0)> <#list page.data as failureCause>
                <tr target="failureCause_code" rel="${failureCause.failureCauseCode!''}">
                    <td><input type="checkbox" name="failureCauseId" value="{failureCauseCode:'${failureCause.failureCauseCode!''}', failureCauseText:'${failureCause.failureCauseText!''}'}" />
                    </td>
                <td>${page.startRow + failureCause_index}</td>
                <td>${failureCause.failureCauseCode!''}</td>
                <td>${failureCause.failureCauseText!''}</td>
                </tr>
                </#list> <#else>
                <tr target="role_id">
                    <td colspan="3" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
                </tr>
                </#if> <#else>
                <tr target="role_id">
                    <td colspan="3" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
                </tr>
                </#if>
            </tbody>
        </table>
        <#include "/common/dialogPanelBar.html">
</div>
</div>
<div class="formBar">
    <ul>
        <li><div class="buttonActive">
                <div class="buttonContent">
                    <button type="button" multLookup="failureCauseId" warn="<@label key="selectFailureCause.M">请选择故障原因</@label>"><@label key="ok.B">确定</@label></button>
                </div>
            </div>
        </li>
        <li>
            <div class="buttonActiveGrey">
                <div class="buttonContent">
                    <button class="close" type="button"><@label key="close.B">关闭</@label></button>
                </div>
            </div></li>

    </ul>
</div>